/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package rigo.ricard.pris.rs.ac.uns.dmi.model;

import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

import java.util.Date;

/**
 * The base model interface for the Advertising service. Represents a row in the &quot;car_Advertising&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link rigo.ricard.pris.rs.ac.uns.dmi.model.impl.AdvertisingModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link rigo.ricard.pris.rs.ac.uns.dmi.model.impl.AdvertisingImpl}.
 * </p>
 *
 * @author Rigo Richard
 * @see Advertising
 * @see rigo.ricard.pris.rs.ac.uns.dmi.model.impl.AdvertisingImpl
 * @see rigo.ricard.pris.rs.ac.uns.dmi.model.impl.AdvertisingModelImpl
 * @generated
 */
public interface AdvertisingModel extends BaseModel<Advertising> {
	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this interface directly. All methods that expect a advertising model instance should use the {@link Advertising} interface instead.
	 */

	/**
	 * Returns the primary key of this advertising.
	 *
	 * @return the primary key of this advertising
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this advertising.
	 *
	 * @param primaryKey the primary key of this advertising
	 */
	public void setPrimaryKey(long primaryKey);

	/**
	 * Returns the ad ID of this advertising.
	 *
	 * @return the ad ID of this advertising
	 */
	public long getAdId();

	/**
	 * Sets the ad ID of this advertising.
	 *
	 * @param adId the ad ID of this advertising
	 */
	public void setAdId(long adId);

	/**
	 * Returns the user ID of this advertising.
	 *
	 * @return the user ID of this advertising
	 */
	public long getUserId();

	/**
	 * Sets the user ID of this advertising.
	 *
	 * @param userId the user ID of this advertising
	 */
	public void setUserId(long userId);

	/**
	 * Returns the user uuid of this advertising.
	 *
	 * @return the user uuid of this advertising
	 * @throws SystemException if a system exception occurred
	 */
	public String getUserUuid() throws SystemException;

	/**
	 * Sets the user uuid of this advertising.
	 *
	 * @param userUuid the user uuid of this advertising
	 */
	public void setUserUuid(String userUuid);

	/**
	 * Returns the user name of this advertising.
	 *
	 * @return the user name of this advertising
	 */
	@AutoEscape
	public String getUserName();

	/**
	 * Sets the user name of this advertising.
	 *
	 * @param userName the user name of this advertising
	 */
	public void setUserName(String userName);

	/**
	 * Returns the create date of this advertising.
	 *
	 * @return the create date of this advertising
	 */
	public Date getCreateDate();

	/**
	 * Sets the create date of this advertising.
	 *
	 * @param createDate the create date of this advertising
	 */
	public void setCreateDate(Date createDate);

	/**
	 * Returns the modified date of this advertising.
	 *
	 * @return the modified date of this advertising
	 */
	public Date getModifiedDate();

	/**
	 * Sets the modified date of this advertising.
	 *
	 * @param modifiedDate the modified date of this advertising
	 */
	public void setModifiedDate(Date modifiedDate);

	/**
	 * Returns the car manufacturer ID of this advertising.
	 *
	 * @return the car manufacturer ID of this advertising
	 */
	public long getCarManufacturerId();

	/**
	 * Sets the car manufacturer ID of this advertising.
	 *
	 * @param carManufacturerId the car manufacturer ID of this advertising
	 */
	public void setCarManufacturerId(long carManufacturerId);

	/**
	 * Returns the car model ID of this advertising.
	 *
	 * @return the car model ID of this advertising
	 */
	public long getCarModelId();

	/**
	 * Sets the car model ID of this advertising.
	 *
	 * @param carModelId the car model ID of this advertising
	 */
	public void setCarModelId(long carModelId);

	/**
	 * Returns the car description of this advertising.
	 *
	 * @return the car description of this advertising
	 */
	@AutoEscape
	public String getCarDescription();

	/**
	 * Sets the car description of this advertising.
	 *
	 * @param carDescription the car description of this advertising
	 */
	public void setCarDescription(String carDescription);

	/**
	 * Returns the location of this advertising.
	 *
	 * @return the location of this advertising
	 */
	@AutoEscape
	public String getLocation();

	/**
	 * Sets the location of this advertising.
	 *
	 * @param location the location of this advertising
	 */
	public void setLocation(String location);

	/**
	 * Returns the price of this advertising.
	 *
	 * @return the price of this advertising
	 */
	public double getPrice();

	/**
	 * Sets the price of this advertising.
	 *
	 * @param price the price of this advertising
	 */
	public void setPrice(double price);

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public Serializable getPrimaryKeyObj();

	public void setPrimaryKeyObj(Serializable primaryKeyObj);

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(Advertising advertising);

	public int hashCode();

	public CacheModel<Advertising> toCacheModel();

	public Advertising toEscapedModel();

	public String toString();

	public String toXmlString();
}